import Taro from "@tarojs/taro";
import cover from '@src/assets/cover.jpg'

Taro.shareResult = {
  title: '橘猫合图',
  imageUrl: cover,
}

Taro.getMySetting = () => {
  let setting = Taro.getStorageSync<SettingType>("setting");
  if (!setting) {
    setting = {
      autoSave: true,
      watermarkName: false,
    };
    Taro.setStorageSync("setting", setting);
  }
  return setting;
}